]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Link the gnome-shell binary to libgnome-shell-js.so
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 4 Apr 2012 21:48:47 +0000 (17:48 -0400)
committerAlexandre Rostovtsev <tetromino@gentoo.org>
Fri, 18 May 2012 22:29:02 +0000 (18:29 -0400)
Depending on the exact linker options and versions, rpath's written
into the binary may, or may not, be honored by dlopen(). Work around
this by simply linking the gnome-shell binary to gnome-shell-js, since
then dlopen() doesn't need to search paths.

https://bugzilla.gnome.org/show_bug.cgi?id=670477

src/Makefile.am

index 981a16d4bdaaabfa51d6aa29f9fd2e86e68c2ad9..dc5137e34fabc4615cde2b7df5eca8aa91e78fa3 100644 (file)
@@ -193,7 +193,7 @@ libgnome_shell_la_gir_sources = \
 gnome_shell_real_SOURCES =             \
        main.c
 gnome_shell_real_CPPFLAGS = $(gnome_shell_cflags)
-gnome_shell_real_LDADD = libgnome-shell.la $(libgnome_shell_la_LIBADD)
+gnome_shell_real_LDADD = libgnome-shell.la libgnome-shell-js.la $(libgnome_shell_la_LIBADD)
 gnome_shell_real_DEPENDENCIES = libgnome-shell.la
 
 EXTRA_DIST += test-gapplication.js